public abstract class Person {
    Action action;
    String kind;
    Person(){

    }
    public void display(){
        System.out.println(" i am " + kind + "  person ");
    }
    public void performdoing(){
        action.doing();
    }

    public void setAction(Action action) {
        this.action = action;
    }
}
